Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Version packages #3

Merged
merged 1 commit into from
Dec 22, 2023
Merged

[Release] Version packages #3

merged 1 commit into from
Dec 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • #2 by @12joan
    • Atoms other than atom can now be passed in the initialState argument to createAtomStore. Primitive values use atom by default
    • Added an extend option to createAtomStore that lets you add derived atoms to the store
    • New accessors on UseStoreApi
      • useMyStore().store() returns the JotaiStore for the current context, or undefined if no store exists
      • useMyStore().{get,set,use}.atom(someAtom) accesses someAtom through the store
    • Types: remove exports for some internal types
      • GetRecord
      • SetRecord
      • UseRecord

@12joan 12joan merged commit da92041 into main Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant